a = [1,2,3,4]
b = [4,5,6]

print(a.append(6))
print(a)    # [1, 2, 3, 4, 6]
print(a.extend(b))
print(a)    # [1, 2, 3, 4, 6, 4, 5, 6]
